package com.baitiaojun.common.domain.model.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;

@ApiModel("分页参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageParam {

    @ApiModelProperty("页码")
    private Long pageNo;

    @ApiModelProperty("分页大小")
    private Long pageSize;

    @ApiModelProperty("分页排序")
    private Collection<PageSorted> pageSorted;
}
